var er = document.querySelector(".er")
var er1 = document.querySelector(".er1")
var one = document.querySelector(".one")
var two = document.querySelector(".two")

er.onclick=function(){
    er1.style.display="block"
    this.style.display="none"
    two.style.display="block"
    one.style.display="none"
}

er1.onclick=function(){
    er.style.display="block"
    this.style.display="none"
    one.style.display="block"
    two.style.display="none"
}






var inp = document.querySelectorAll("input")
inp.forEach(function (value, index, array) {
    value.onfocus = function () {
        $(this).parent().css({
            "border-color": "#8c8c8c"
        });
    }
    value.onblur = function () {
        $(this).parent().css({
            "border-color": "#d2d2d2"
        });
    }
})































